package cn.edu.tju.se.auth.service;

import java.util.List;

import cn.edu.tju.se.auth.domain.Role;

public interface RoleService {

	public boolean hasPriv(Role role,String Priv);
	
	public Role get(Long id);
	
	public List<Role> getAll();
	
	public Role save(Role role);
	
	public void update(Role role);
	
	public void delete(Long id);
	
	
}
